package top.drose;

import java.util.Arrays;

class TestNode{
    private int data;

    public void setData(int data) {
        this.data = data;
    }

    public int getData() {
        return data;
    }
}
public class test {
    public static void main(String[] args) {
        TestNode[] nodes = new TestNode[10];
        Arrays.fill(nodes, new TestNode());
        for (TestNode node : nodes) {
            node.setData(1);
        }
    }
}
